package com.nuoniu.sibanyun.entity.vo.reportVo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * @ClassName ProductionWorkCumDetailVo
 * @Description TODO
 * @Author 白强
 * @Date 2022/6/14 15:53
 * @Version 1.0
 **/
@Data
@ApiModel("生产订单执行明细表")
public class ProductionWorkCumDetailVo {

    @ApiModelProperty(value = "生产车间")
    @TableField("office_id")
    private Integer officeId;

    @ApiModelProperty(value = "生产车间名称")
    @TableField("office_name")
    private String officeName;

    @ApiModelProperty(value = "单据编号")
    @TableField("voucher_code")
    private String voucherCode;

    @ApiModelProperty(value = "产品Id")
    @TableField("inventory_id")
    private Integer inventoryId;

    @ApiModelProperty(value = "产品名称")
    @TableField("inventory_name")
    private String inventoryName;

    @ApiModelProperty(value = "产品编码")
    @TableField("inventory_code")
    private String inventoryCode;

    @ApiModelProperty(value = "规格型号")
    @TableField("inventory_specification")
    private String inventorySpecification;

    @ApiModelProperty(value = "物料主计量名称")
    @TableField("base_unit_name")
    private String baseUnitName;

    @ApiModelProperty(value = "计划生产数量")
    @TableField("base_quantity")
    private BigDecimal baseQuantity;


    @ApiModelProperty(value = "开工日期")
    @TableField("start_date")
    private LocalDate startDate;

    @ApiModelProperty(value = "完工日期")
    @TableField("finish_date")
    private LocalDate finishDate;

    @ApiModelProperty(value = "预计开工日期")
    @TableField("expect_start_date")
    private LocalDate expectStartDate;

    @ApiModelProperty(value = "预计完工日期")
    @TableField("expect_finish_date")
    private LocalDate expectFinishDate;

    @ApiModelProperty(value = "累计合格数量")
    @TableField("cum_qualified_quantity")
    private BigDecimal cumQualifiedQuantity;

    @ApiModelProperty(value = "累计不合格数量")
    @TableField("cum_unqualified_quantity")
    private BigDecimal cumUnqualifiedQuantity;

    @ApiModelProperty(value = "累计返工数量")
    @TableField("cum_rework_quantity")
    private BigDecimal cumReworkQuantity;

    @ApiModelProperty(value = "累计报废数量")
    @TableField("cum_scrap_quantity")
    private BigDecimal cumScrapQuantity;


}
